package com.xywh.dakaqiandao.mvp.ui.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.xywh.dakaqiandao.R;
import com.xywh.dakaqiandao.mvp.ui.entity.QianDaoJiLuLieBiao;

import java.util.List;

//import me.jessyan.armscomponent.commonres.utils.GlideUtil;


public class QianDaoJiLuLieBiaoAdapter extends BaseQuickAdapter<QianDaoJiLuLieBiao, BaseViewHolder> {

    private Context mContext;

    public QianDaoJiLuLieBiaoAdapter(Context context, @Nullable List<QianDaoJiLuLieBiao> data) {
        super(R.layout.item_qian_dao_ji_lu_lie_biao, data);
        this.mContext = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, QianDaoJiLuLieBiao item) {
        //GlideUtil.loadImage(mContext,item.getImg(),helper.getView(R.id.img_head));
        helper.setText(R.id.tv_shi_jian, "签到日期：" + item.getOptionShow());
    }

}
